<div class="col-xs-12 col-sm-6 col-md-5 col-lg-4">
     <h4>Pending Games</h4>
     <div style="margin-bottom: 10px;" class="list-group listtwo">
          <% @pendingGames.each do |game| %>
               <%= link_to game[:url], :class=>"list-group-item" do %>
                    <span class="list-group-item-text">
                 <%=game[:name]%>
               </span>
               <span class="list-group-item-text pull-right currency <%=game["change"]%>">
                 <%=number_to_currency(game[:capital].to_f/100)%>
               </span>
               <%end%>
          <%end%>
     </div>
     <h4>Active Games</h4>
     <div style="margin-bottom: 10px;" class="list-group listtwo">
          <% @activeGames.each do |game| %>
               <%= link_to game[:url], :class=>"list-group-item" do %>
                    <span class="list-group-item-text">
                 <%=game[:name]%>
               </span>
               <span class="list-group-item-text pull-right currency <%=game["change"]%>">
                 <%=number_to_currency(game[:capital].to_f/100)%>
               </span>
               <%end%>
          <%end%>
     </div>
     <h4>Completed Games</h4>
     <div class="list-group listtwo">
          <% @completedGames.each do |game| %>
               <%= link_to game[:url], :class=>"list-group-item" do %>
                    <span class="list-group-item-text">
                 <%=game[:name]%>
               </span>
                    <span class="list-group-item-text pull-right currency <%=game["change"]%>">
                 <%=number_to_currency(game[:capital].to_f/100)%>
               </span>
               <%end%>
          <%end%>
     </div>
     <%= link_to "New Game \u00bb", newgame_url, {:class=>"btn btn-primary"}%>
</div>